let oBtn = document.getElementById('btn')

oBtn.addEventListener('click', function () {
  import(/*webpackChunkName: "login"*/'./login.js').then(login => {
    console.log(login);
  })
})

console.log('index.js 执行了');